$(document).ready(function() {
	$("#applied").click(function() {
		var checked = $(this).attr("checked");
		if (checked) {
			$("#processed").attr("checked", "checked").attr("disabled", "disabled");
		} else {
			$("#processed").removeAttr("disabled");
		}
	});
	
	
});